package com.ncu.cloundeoffice.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * 导航菜单实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TMenu {
    private int id;
    private String url;
    private String path;
    private String component;
    private String name;
    private String iconCls;
    private boolean keepAlive;
    private boolean requireAuth;
    private int parentId;
    private boolean enabled;



    //子集菜单
    private List<TMenu> children;

    //角色权限  =>每个菜单所对应的权限
    private List<TRole> roles;



}
